package com.ruantu.clothing.dao.report;

import com.ruantu.clothing.entity.report.Rukuyuebao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RukuReportDao {

    /**
     *入库月表
     * @param monSearch
     * @param selectText
     * @return
     */
    List<Rukuyuebao> gtRukuyuebao(@Param("monSearch")String monSearch,
                                  @Param("selectText")String selectText,
                                  @Param("jgid")String jgid);

    /**
     *入库报表
     * @param stime
     * @param etime
     * @param jgid
     * @param selectText
     * @param start
     * @param rows
     * @return
     */
       List<Rukuyuebao> gtrukureport( @Param("stime")String stime,
                                   @Param("etime")String etime,
                                   @Param("jgid")String jgid,
                                   @Param("selectText")String selectText,
                                   @Param("cpYear")String cpYear,
                                   @Param("season")String season,
                                   @Param("pinpai")String pinpai,
                                   @Param("ordTJ")Integer ordTJ,
                                   @Param("start")Integer start,
                                   @Param("rows")Integer rows);

    /**
     * 导出入库报表
     * @param stime
     * @param etime
     * @param jgid
     * @param selectText
     * @param ordTJ
     * @return
     */
    List<Rukuyuebao> gtrukureport2( @Param("stime")String stime,
                                   @Param("etime")String etime,
                                   @Param("jgid")String jgid,
                                   @Param("selectText")String selectText,
                                    @Param("cpYear")String cpYear,
                                    @Param("season")String season,
                                    @Param("pinpai")String pinpai,
                                    @Param("ordTJ")Integer ordTJ);

    /**
     *
     * @param stime
     * @param etime
     * @param jgid
     * @param selectText
     * @return
     */
    Integer gtrukureportTotal(@Param("stime")String stime,
                              @Param("etime")String etime,
                              @Param("jgid")String jgid,
                              @Param("selectText")String selectText,
                              @Param("cpYear")String cpYear,
                              @Param("season")String season,
                              @Param("pinpai")String pinpai,
                              @Param("ordTJ")Integer ordTJ);

    /**
     *
     * @param stime
     * @param etime
     * @return
     */
    Integer geAllTotalByTime(@Param("stime")String stime,
                             @Param("etime")String etime,
                             @Param("selectText")String selectText,
                             @Param("cpYear")String cpYear,
                             @Param("season")String season,
                             @Param("pinpai")String pinpai,
                             @Param("jgid")String jgid);
}
